package com.company.cloud.page.modules.mgr.controller.req;

import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.common.constant.BaseConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class PageConfigUpdateStateParam extends BaseParam {

    @ApiModelProperty(value = "页面编号",required = true)
    @NotEmpty(message = "页面编号不能为空")
    private String pageNo;

    @ApiModelProperty(value = "上下架状态",required = true)
    @NotEmpty(message = "上下架状态不能为空")
    private String state= BaseConstant.YNEnum.NO.getCode();

}
